package net.dgg.zz.credential.certificateProduct.entity;

import net.dgg.zz.common.base.entity.BaseEntity;

/**
 * 证书生产订单中间表
 *
 * @author wmj
 * @date 2018/8/13  10:54
 */
public class CertificateProduct extends BaseEntity {

    /**
     * 证书ID
     */
    private Long baseId;

    /**
     * 生产订单ID
     */
    private Long scOrderId;

    /**
     * 生产订单编号
     */
    private String scOrderNo;

    /**
     * 子订单编号
     */
    private String subOrderNo;

    /**
     * 订单编号
     */
    private String orderNo;


    /**
     * 是否是证书订单 0-不是 1-是
     */
    private Integer isCertifateOrder = 0;

    /**
     * 证书ID
     *
     * @return base_id 证书ID
     */
    public Long getBaseId() {
        return baseId;
    }

    /**
     * 证书ID
     *
     * @param baseId 证书ID
     */
    public void setBaseId(Long baseId) {
        this.baseId = baseId;
    }

    /**
     * 生产订单ID
     *
     * @return sc_order_id 生产订单ID
     */
    public Long getScOrderId() {
        return scOrderId;
    }

    /**
     * 生产订单ID
     *
     * @param scOrderId 生产订单ID
     */
    public void setScOrderId(Long scOrderId) {
        this.scOrderId = scOrderId;
    }

    /**
     * 生产订单编号
     *
     * @return sc_order_no 生产订单编号
     */
    public String getScOrderNo() {
        return scOrderNo;
    }

    /**
     * 生产订单编号
     *
     * @param scOrderNo 生产订单编号
     */
    public void setScOrderNo(String scOrderNo) {
        this.scOrderNo = scOrderNo == null ? null : scOrderNo.trim();
    }

    /**
     * 子订单编号
     *
     * @return sub_order_no 子订单编号
     */
    public String getSubOrderNo() {
        return subOrderNo;
    }

    /**
     * 子订单编号
     *
     * @param subOrderNo 子订单编号
     */
    public void setSubOrderNo(String subOrderNo) {
        this.subOrderNo = subOrderNo == null ? null : subOrderNo.trim();
    }

    /**
     * 订单编号
     *
     * @return order_no 订单编号
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 订单编号
     *
     * @param orderNo 订单编号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public Integer getIsCertifateOrder() {
        return isCertifateOrder;
    }

    public void setIsCertifateOrder(Integer isCertifateOrder) {
        this.isCertifateOrder = isCertifateOrder;
    }
}